package com.czxy.demo01;

public class Test06 {
    public static void main(String[] args) {
        show();
    }
    public static void show(){
        int count =0 ;
        for (int i = 1; i <100 ; i++) {
            String num = String.valueOf(i);
            if(num.contains("9")){
                continue;
            }
            System.out.print(num+" ");
            count++;

            if( count%5==0){
                System.out.println();
            }
        }
    }
}
